<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>

        var w= window.innerWidth;
        var h= window.innerHeight
        alert("w");
        alert("h");



</script>
</html>